package com.ruoyi.lvlian.service.impl;

import com.ruoyi.common.core.exception.CaptchaException;
import com.ruoyi.common.core.utils.DateUtils;
import com.ruoyi.common.core.utils.MD5Utils;
import com.ruoyi.common.core.utils.StringUtils;
import com.ruoyi.common.redis.service.RedisService;
import com.ruoyi.common.security.utils.SecurityUtils;
import com.ruoyi.lvlian.controller.DriverInfoController;
import com.ruoyi.lvlian.domain.DriverInfo;
import com.ruoyi.lvlian.domain.DriverVehicleRef;
import com.ruoyi.lvlian.dto.DriverInfoDto;
import com.ruoyi.lvlian.mapper.CommonMapper;
import com.ruoyi.lvlian.mapper.DriverInfoMapper;
import com.ruoyi.lvlian.mapper.VehicleInfoMapper;
import com.ruoyi.lvlian.service.ICommonService;
import com.ruoyi.lvlian.service.IDriverInfoService;
import com.ruoyi.lvlian.util.ExcelUtil;
import com.ruoyi.lvlian.vo.DriverInfoVo;
import com.ruoyi.lvlian.vo.VehicleInfoVo;
import com.ruoyi.system.api.model.LoginUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.List;

/**
 * 司机信息Service业务层处理
 *
 * @author liyuxi
 * @date 2024-06-06
 */
@Service
public class CommonServiceImpl implements ICommonService {

    @Autowired
    private CommonMapper commonMapper;

    @Override
    public List<String> queryCurrentOrgCode(Long userId) {
        return commonMapper.queryCurrentOrgCode(userId) ;
    }
}
